<template>
	<view class="content">
		<image class="logo" src="/static/logo.png"></image>
		<view class="text-area">
			<text class="title">{{title}}</text>
			<u-button type="primary" text="按钮"></u-button>
		</view>
		<view>
			<u-input
				placeholder="请输入内容1111"
				v-model="state.value"
				@change="change"
				></u-input>
		</view>
	</view>
</template>

<script setup>
import { onLoad } from "@dcloudio/uni-app"
import { reactive, onMounted } from 'vue'

const state = reactive({title: 'Hello1', value: 'input'})
onLoad(() =>{
	state.value = 'asdfasdf'
})
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
